package fr.maistre.SystemeMarché.Interface;

import java.util.HashMap;

import fr.maistre.SystemeMarché.Implementation.ReferenceMarket;

public interface Market {
	
	public abstract void setReferenceMarket(Marketable marketable,
			ReferenceMarket referenceMarket);

	public abstract void supprimerValeurSurMarket(Marketable marketable);

	public abstract void simulerLeMarché();

	public abstract void simulerLeMarché(int iteration);

	public abstract int simulerVenteSurMarché(Marketable marketable,
			int quantité, double prixDésiré);

	public abstract void modifierValeur(Marketable marketable, int difference);
	public double recupererValeur(Marketable marketable);
	public HashMap<String, ReferenceMarket> getReferences();
	public abstract void clearCachedData();

}